<template>
	<view class="ABC">
	<view class="login-footer" v-if="!token">
		<view class="footer-left">
		<view class="logo-he">
			<image src="https://xixijj.oss-cn-chengdu.aliyuncs.com/attach/2023/08/75256202308221334537899.png" mode="widthFix"></image>
		</view>
		<view class="cont">
		<view>吃饱饱 没烦恼</view>
		<text>来迷彩同城</text>
		</view>
		</view>
		<view class="jump-login" @click="gogologin">请登录</view>
	</view>
	</view>
</template>

<script>
	import {mapState} from 'vuex'
	export default{
		data(){
			return{}
		},
		methods:{
			gogologin(){
				uni.navigateTo({
					url:'/page_login/index'
				})
			}
		},
		computed:{
			...mapState(['token'])
		}
	}
</script>

<style lang="scss">
	.login-footer{
		box-sizing: border-box;
		position: fixed;
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		bottom: 0;
		left: 0;
		padding:20rpx 20rpx;
		background-color:rgba(0, 0, 0, .5);
		.footer-left{
			display: flex;
			align-items: center;
			.logo-he{
				height: 100rpx;
				border-radius: 20rpx;
				background-color: #fff;
				display: inline-block;
				overflow: hidden;
				margin-right: 30rpx;
				image{
					width:100rpx;
					margin-top: 20rpx;
				}
			}
			.cont{
				color: #fff;
				view{
					font-size: 34rpx;
					margin-bottom: 10rpx;
				}
			}
		}
		.jump-login{
			padding: 20rpx 30rpx;
			border-radius: 20rpx;
			background-color: #ffcd00;
		}
	}
</style>